This repository was archived by the owner on Sep 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
53 lines (52 loc) · 1.62 KB
/
docker-compose.yml
File metadata and controls
53 lines (52 loc) · 1.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Aesterisk *Development* Compose file
services:
postgres:
image: postgres:alpine
environment:
POSTGRES_PASSWORD: password
ports:
- '54321:5432'
volumes:
- ./docker/postgres:/var/lib/postgresql/data
healthcheck:
test: [ 'CMD-SHELL', 'pg_isready -U postgres' ]
interval: 10s
timeout: 5s
retries: 5
# neon-proxy:
# image: ghcr.io/timowilhelm/local-neon-http-proxy:main
# environment:
# - PG_CONNECTION_STRING=postgresql://postgres:password@postgres:5432/postgres
# ports:
# - '54331:4444'
# depends_on:
# postgres:
# condition: service_healthy
neon:
image: ghcr.io/aesterisk/neon-proxy
environment:
- PG_CONNECTION_STRING=postgresql://postgres:password@postgres:5432/postgres
ports:
- '4445:4445'
volumes:
- ./docker/nginx/aesterisk.io.crt:/etc/neon/neon.pem
- ./docker/nginx/aesterisk.io.key:/etc/neon/neon.key
depends_on:
postgres:
condition: service_healthy
web-proxy:
image: nginx:alpine
ports:
- '80:80'
- '443:443'
- '54331:4444'
volumes:
- ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf
- ./docker/nginx/aesterisk.io.crt:/etc/ssl/certs/aesterisk.io.crt
- ./docker/nginx/aesterisk.io.key:/etc/ssl/private/aesterisk.io.key
# TODO: move /docker/nginx/aesterisk.io.{crt,key} to a clearer location, as well as adding a step in README.md so users know that a self-signed SSL record will be required for development
depends_on:
# neon-proxy:
# condition: service_started
neon:
condition: service_started