Files
ui/docker-compose.yml
2021-12-25 23:17:47 -03:00

55 lines
953 B
YAML

version: '3'
x-restart:
&restart
restart: unless-stopped
x-timezone:
&tz
TZ: America/Santiago
services:
proxy:
image: nginx:alpine
container_name: incoviba_ui_proxy
<<: *restart
environment: *tz
ports:
- "8080:80"
volumes:
- ./:/code
- ./nginx.conf:/etc/nginx/conf.d/default.conf
networks:
- incoviba
ui:
build:
dockerfile: Dockerfile
container_name: incoviba_ui
<<: *restart
environment: *tz
env_file:
- .env
- .api.key
volumes:
- ./:/code
- ./php.ini:/usr/local/etc/php/conf.d/docker.ini
- ./logs/php/:/var/log/php/
networks:
- incoviba
redis:
image: redis:alpine
container_name: incoviba_redis
<<: *restart
command: redis-server
environment: *tz
volumes:
- incoviba_redis:/data
networks:
- incoviba
networks:
incoviba:
external: true
volumes:
incoviba_redis: {}