docker compose
This commit is contained in:
@@ -1,30 +1,6 @@
|
|||||||
x-stupid-api: &stupid-api
|
|
||||||
environment:
|
|
||||||
- NODE_ENV=production
|
|
||||||
restart: unless-stopped
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
stupid-apis-1:
|
stupid-apis:
|
||||||
<<: *stupid-api
|
container_name: stupid-apis
|
||||||
container_name: stupid-apis-1
|
image: gitea.johannesbot.de/johannesbot/stupid-apis:latest
|
||||||
|
|
||||||
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"
|
|
||||||
ports:
|
ports:
|
||||||
- "42069:80"
|
- "42069:3000"
|
||||||
restart: unless-stopped
|
|
||||||
depends_on:
|
|
||||||
- stupid-apis-1
|
|
||||||
- stupid-apis-2
|
|
||||||
- stupid-apis-3
|
|
||||||
Reference in New Issue
Block a user