Browse Source

Update docker-compose file with memcached

packaging
Gabriel Augendre 1 month ago
parent
commit
a703cce21f
No known key found for this signature in database GPG Key ID: 1E693F4CE4AEE7B4
1 changed files with 7 additions and 2 deletions
  1. +7
    -2
      docker-compose.yml

+ 7
- 2
docker-compose.yml View File

@ -15,6 +15,9 @@ services:
restart: on-failure
init: true
tty: true
depends_on:
- nginx
- memcached
nginx:
image: nginx:1.19.2
ports:
@ -23,8 +26,10 @@ services:
- staticfiles:/app/static
- media:/app/media
- ./docker/nginx-dev.conf:/etc/nginx/conf.d/default.conf
depends_on:
- django
memcached:
image: memcached:1.6.9
restart: always
command: ["memcached", "-m", "128"]
volumes:
staticfiles: {}


Loading…
Cancel
Save