mirror of https://github.com/dnomd343/sub-web
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
562 B
27 lines
562 B
version: "3"
|
|
services:
|
|
subweb:
|
|
build: .
|
|
container_name: subweb
|
|
restart: always
|
|
ports:
|
|
- "${SUBWEB_PORT}:80"
|
|
|
|
myurls:
|
|
image: "careywong/myurls:latest"
|
|
container_name: myurls
|
|
restart: always
|
|
env_file: .env
|
|
ports:
|
|
- "${MYURLS_PORT}:8002"
|
|
depends_on:
|
|
- myurls-redis
|
|
entrypoint: ["/app/myurls", "-domain", "${MYURLS_DOMAIN}", "-conn", myurls-redis:6379, "-ttl", "${MYURLS_TTL}"]
|
|
|
|
myurls-redis:
|
|
image: "redis:5"
|
|
container_name: myurls-redis
|
|
restart: always
|
|
expose:
|
|
- "6379"
|
|
|
|
|