Filesystem Storage
version: '3'
volumes:
mysql:
driver: local
nginx:
driver: local
ngsmedia:
services:
ngsurvey:
image: ngsurvey/ngsurveyee:latest
restart: always
networks:
- default
ports:
- 8088:80
depends_on:
- mysqlngsurveydb
volumes:
- ngsmedia:/ngsmedia
command: ["./wait-for-it.sh", "mysqlngsurveydb:3306", "--", "python", "app.py"]
environment:
- ConnectionStrings:NGSurveyDB=Server=mysqlngsurveydb;Database=ngsurveydb53;Uid=root;Pwd=maytheforcebewithyou;
- NGSurvey:StorageEngine=MySQL
mysqlngsurveydb:
image: mysql:latest
ports:
- 3310:3306
cap_add:
- SYS_NICE
restart: always
volumes:
- mysql:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=maytheforcebewithyou
command: ['--default-authentication-plugin=mysql_native_password']
networks:
frontproxy_default:
external: true Last updated
Was this helpful?
