mirror of
https://github.com/wukko/cobalt.git
synced 2025-01-12 20:02:19 +01:00
updated docker compose example
This commit is contained in:
parent
15dbf74c15
commit
38ceb1be77
1 changed files with 22 additions and 2 deletions
|
@ -5,19 +5,39 @@ services:
|
||||||
build: .
|
build: .
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
container_name: cobalt-api
|
container_name: cobalt-api
|
||||||
|
|
||||||
|
# if container doesn't run detached on your machine, uncomment the next line:
|
||||||
|
#tty: true
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
- 9000:9000/tcp
|
- 9000:9000/tcp
|
||||||
|
# if you're using a reverse proxy, uncomment the next line:
|
||||||
|
#- 127.0.0.1:9000:9000
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
- apiPort=9000
|
- apiPort=9000
|
||||||
|
# replace apiURL with your instance's target url in same format
|
||||||
- apiURL=https://co.wuk.sh/
|
- apiURL=https://co.wuk.sh/
|
||||||
|
# replace apiName with your instance's distinctive name
|
||||||
- apiName=eu-nl
|
- apiName=eu-nl
|
||||||
|
|
||||||
|
|
||||||
cobalt-web:
|
cobalt-web:
|
||||||
build: .
|
build: .
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
container_name: cobalt-web
|
container_name: cobalt-web
|
||||||
|
|
||||||
|
# if container doesn't run detached on your machine, uncomment the next line:
|
||||||
|
#tty: true
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
- 9000:9000/tcp
|
- 9001:9001/tcp
|
||||||
|
# if you're using a reverse proxy, uncomment the next line:
|
||||||
|
#- 127.0.0.1:9001:9001
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
- webPort=9000
|
- webPort=9001
|
||||||
|
# replace webURL with your instance's target url in same format
|
||||||
- webURL=https://co.wukko.me/
|
- webURL=https://co.wukko.me/
|
||||||
|
# replace apiURL with preferred api instance url
|
||||||
- apiURL=https://co.wuk.sh/
|
- apiURL=https://co.wuk.sh/
|
||||||
|
|
Loading…
Reference in a new issue