docker compose
This commit is contained in:
@@ -1,30 +1,6 @@
|
||||
x-stupid-api: &stupid-api
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
restart: unless-stopped
|
||||
|
||||
services:
|
||||
stupid-apis-1:
|
||||
<<: *stupid-api
|
||||
container_name: stupid-apis-1
|
||||
|
||||
stupid-apis-2:
|
||||
<<: *stupid-api
|
||||
container_name: stupid-apis-2
|
||||
|
||||
stupid-apis-3:
|
||||
<<: *stupid-api
|
||||
container_name: stupid-apis-3
|
||||
|
||||
nginx:
|
||||
image: nginx:latest
|
||||
container_name: stupid-nginx
|
||||
volumes:
|
||||
- "/mnt/HDD/root/Sourcecode/stupid-apis/nginx.conf:/etc/nginx/nginx.conf:ro"
|
||||
stupid-apis:
|
||||
container_name: stupid-apis
|
||||
image: gitea.johannesbot.de/johannesbot/stupid-apis:latest
|
||||
ports:
|
||||
- "42069:80"
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- stupid-apis-1
|
||||
- stupid-apis-2
|
||||
- stupid-apis-3
|
||||
- "42069:3000"
|
||||
Reference in New Issue
Block a user