Gab's Notes backend https://gabnotes.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

36 lines
717 B

version: '2.4'
services:
django:
image: rg.fr-par.scw.cloud/crocmagnon/blog:latest
build:
context: .
args:
POETRY_OPTIONS: "--no-dev"
env_file:
- .env
volumes:
- ./db:/db
- staticfiles:/app/staticfiles
- media:/app/media
restart: on-failure
init: true
tty: true
depends_on:
- nginx
- memcached
nginx:
image: nginx:1.19.2
ports:
- 8000:80
volumes:
- staticfiles:/app/static
- media:/app/media
- ./docker/nginx-dev.conf:/etc/nginx/conf.d/default.conf
memcached:
image: memcached:1.6.9
restart: always
command: ["memcached", "-m", "128"]
volumes:
staticfiles: {}
media: {}