This commit is contained in:
Mohamed Sohail 2023-07-26 17:02:59 +08:00
commit a5dd740c92
Signed by: kamikazechaser
GPG Key ID: 7DD45520C01CD85D
5 changed files with 65 additions and 0 deletions

View 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

View File

@ -0,0 +1 @@
CREATE DATABASE ;

3
caddy/Caddyfile Normal file
View File

@ -0,0 +1,3 @@
wala.aurora.grassecon.net {
reverse_proxy wala:8000
}

18
caddy/docker-compose.yaml Normal file
View 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
View 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