2024-07-23 17:54:15 +08:00
|
|
|
version: '3'
|
|
|
|
networks:
|
|
|
|
surl-network:
|
|
|
|
external: true
|
|
|
|
services:
|
|
|
|
surl:
|
|
|
|
image: surl
|
|
|
|
restart: no
|
|
|
|
ports:
|
2024-07-24 09:34:33 +08:00
|
|
|
- "127.0.0.1:18888:18888"
|
2024-07-23 17:54:15 +08:00
|
|
|
networks:
|
|
|
|
- surl-network
|
|
|
|
environment:
|
|
|
|
PROTOCOL: http
|
|
|
|
HOST: localhost
|
|
|
|
PORT: 18888
|
|
|
|
DB_HOST: postgres_forsurl
|
|
|
|
DB_PORT: 5432
|
2024-07-24 09:34:33 +08:00
|
|
|
DB_PASS: PASSWORD4DB
|
2024-07-23 17:54:15 +08:00
|
|
|
REDIS_HOST: redis_forsurl
|
|
|
|
# SECRET_KEY: ne09xhakcvoi13$>":<[].
|
|
|
|
redis_forsurl:
|
|
|
|
image: redis:latest
|
|
|
|
restart: no
|
|
|
|
networks:
|
|
|
|
- surl-network
|
|
|
|
postgres_forsurl:
|
|
|
|
image: postgres:latest
|
|
|
|
restart: no
|
|
|
|
networks:
|
|
|
|
- surl-network
|
2024-07-24 09:34:33 +08:00
|
|
|
environment:
|
|
|
|
POSTGRES_PASSWORD: "PASSWORD4DB"
|