1
This commit is contained in:
commit
a5dd740c92
30
backend-services/docker-compose.yaml
Normal file
30
backend-services/docker-compose.yaml
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
version: "3.9"
|
||||||
|
services:
|
||||||
|
postgres:
|
||||||
|
image: postgres:15-alpine
|
||||||
|
restart: unless-stopped
|
||||||
|
user: postgres
|
||||||
|
environment:
|
||||||
|
- POSTGRES_PASSWORD=
|
||||||
|
- POSTGRES_USER=postgres
|
||||||
|
volumes:
|
||||||
|
- aurora-pg:/var/lib/postgresql/data
|
||||||
|
- ./init_db.sql:/docker-entrypoint-initdb.d/init_db.sql
|
||||||
|
ports:
|
||||||
|
- "40010:5432"
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD-SHELL", "pg_isready"]
|
||||||
|
interval: 10s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
|
networks:
|
||||||
|
- aurora
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
aurora-pg:
|
||||||
|
driver: local
|
||||||
|
|
||||||
|
networks:
|
||||||
|
aurora:
|
||||||
|
external: true
|
||||||
|
|
1
backend-services/init_db.sql
Normal file
1
backend-services/init_db.sql
Normal file
@ -0,0 +1 @@
|
|||||||
|
CREATE DATABASE ;
|
3
caddy/Caddyfile
Normal file
3
caddy/Caddyfile
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
wala.aurora.grassecon.net {
|
||||||
|
reverse_proxy wala:8000
|
||||||
|
}
|
18
caddy/docker-compose.yaml
Normal file
18
caddy/docker-compose.yaml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
version: '3.9'
|
||||||
|
services:
|
||||||
|
caddy:
|
||||||
|
restart: unless-stopped
|
||||||
|
container_name: caddy
|
||||||
|
image: caddy:2-alpine
|
||||||
|
volumes:
|
||||||
|
- ./Caddyfile:/etc/caddy/Caddyfile
|
||||||
|
- ./data:/data
|
||||||
|
ports:
|
||||||
|
- '80:80'
|
||||||
|
- '443:443'
|
||||||
|
networks:
|
||||||
|
- cic
|
||||||
|
|
||||||
|
networks:
|
||||||
|
cic:
|
||||||
|
external: true
|
13
wala/docker-compose.yaml
Normal file
13
wala/docker-compose.yaml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
version: "3.9"
|
||||||
|
services:
|
||||||
|
wala:
|
||||||
|
image: kamikazechaser/ge-wala:d21730d
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- '8000:8000'
|
||||||
|
networks:
|
||||||
|
- aurora
|
||||||
|
|
||||||
|
networks:
|
||||||
|
aurora:
|
||||||
|
external: true
|
Loading…
Reference in New Issue
Block a user