Compare commits
No commits in common. "e6a7846c6c37c84d3b3460f20c18eab8417707eb" and "807792fcc03899f10f50bc75f983c5f33ee93834" have entirely different histories.
e6a7846c6c
...
807792fcc0
@ -51,7 +51,7 @@
|
|||||||
server:
|
server:
|
||||||
ports:
|
ports:
|
||||||
- target: 5000 # container port
|
- target: 5000 # container port
|
||||||
published: 8086 # Swarm ingress port
|
published: 8084 # Swarm ingress port
|
||||||
protocol: tcp
|
protocol: tcp
|
||||||
mode: ingress
|
mode: ingress
|
||||||
|
|
||||||
@ -65,7 +65,7 @@
|
|||||||
server:
|
server:
|
||||||
ports:
|
ports:
|
||||||
- target: 5000 # container port
|
- target: 5000 # container port
|
||||||
published: 8087 # Swarm ingress port
|
published: 8085 # Swarm ingress port
|
||||||
protocol: tcp
|
protocol: tcp
|
||||||
mode: ingress
|
mode: ingress
|
||||||
# - name: Remove stack
|
# - name: Remove stack
|
||||||
|
|||||||
@ -8,24 +8,5 @@ services:
|
|||||||
protocol: tcp
|
protocol: tcp
|
||||||
mode: ingress
|
mode: ingress
|
||||||
|
|
||||||
postgres:
|
|
||||||
image: postgres:17
|
|
||||||
env_file: ./.env
|
|
||||||
volumes:
|
|
||||||
- pgdata:/var/lib/postgresql/data
|
|
||||||
healthcheck:
|
|
||||||
test: ["CMD", "pg_isready", "-U", "postgres"]
|
|
||||||
interval: 10s
|
|
||||||
retries: 5
|
|
||||||
start_period: 10s
|
|
||||||
timeout: 10s
|
|
||||||
deploy:
|
|
||||||
replicas: 1
|
|
||||||
restart_policy:
|
|
||||||
condition: on-failure
|
|
||||||
delay: 5s
|
|
||||||
max_attempts: 5
|
|
||||||
window: 60s
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
pgdata:
|
pgdata:
|
||||||
|
|||||||
@ -1,4 +1,24 @@
|
|||||||
services:
|
services:
|
||||||
|
postgres:
|
||||||
|
image: postgres:17
|
||||||
|
restart: unless-stopped
|
||||||
|
env_file: ./.env
|
||||||
|
volumes:
|
||||||
|
- pgdata:/var/lib/postgresql/data
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "pg_isready", "-U", "postgres"]
|
||||||
|
interval: 10s
|
||||||
|
retries: 5
|
||||||
|
start_period: 10s
|
||||||
|
timeout: 10s
|
||||||
|
deploy:
|
||||||
|
replicas: 1
|
||||||
|
restart_policy:
|
||||||
|
condition: on-failure
|
||||||
|
delay: 5s
|
||||||
|
max_attempts: 5
|
||||||
|
window: 60s
|
||||||
|
|
||||||
server:
|
server:
|
||||||
image: gitea.futureporn.net/futureporn/our:latest
|
image: gitea.futureporn.net/futureporn/our:latest
|
||||||
env_file: ./.env
|
env_file: ./.env
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user