File: //scripts/docker-compose.yml
version: '3.2'
services:
convert:
build: .
restart: always
expose:
- '5000'
volumes:
- ./script-server:/data/script-server
- ./supervisor-conf:/etc/supervisor/conf.d
environment:
- "TZ=Asia/Kolkata"
web:
image: nginx
ports:
- '5000:80'
restart: always
volumes:
- ./htpasswd:/etc/nginx/.htpasswd
- ./nginx.conf:/etc/nginx/conf.d/default.conf
command: [nginx-debug, '-g', 'daemon off;']
# file-browser:
# image: filebrowser/filebrowser
# restart: always
# ports:
# - '8090:80'
# environment:
# FILE_BROWSER_USERNAME: admin
# FILE_BROWSER_PASSWORD: admin
# volumes:
# - ./script-server/files:/srv