Files
This commit is contained in:
54
docker-compose.yml
Normal file
54
docker-compose.yml
Normal file
@ -0,0 +1,54 @@
|
||||
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: {}
|
Reference in New Issue
Block a user