deploy compose
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-01-10 13:41:59 +01:00
parent cea2b88b30
commit 7f5d7ccae4
2 changed files with 38 additions and 2 deletions

View File

@ -0,0 +1,31 @@
version: '3.8'
services:
xrges-nginx:
image: nginx:latest
restart: unless-stopped
ports:
- "8086:80"
volumes:
- ../frontend/build:/var/www/frontend
- ./zz-default-nginx.conf:/etc/nginx/conf.d/default.conf
links:
- xrges-php
xrges-php:
build: .
restart: unless-stopped
volumes:
- ../backend:/var/www/backend
xrges-redis:
image: redis:latest
restart: unless-stopped
volumes:
- ../home/redis:/data
- ./redis.conf:/usr/local/etc/redis/redis.conf
command: [ "redis-server", "/usr/local/etc/redis/redis.conf" ]
networks:
default:
name: xrges-network