25 lines
442 B
YAML
25 lines
442 B
YAML
|
version: '3'
|
||
|
services:
|
||
|
app:
|
||
|
image: ghcr.io/coder/coder:latest
|
||
|
restart: always
|
||
|
labels:
|
||
|
com.centurylinklabs.watchtower.enable: true
|
||
|
ports:
|
||
|
- "7080:7080"
|
||
|
env_file:
|
||
|
- .env
|
||
|
- .secret.env
|
||
|
group_add:
|
||
|
- "972" # docker group on host
|
||
|
volumes:
|
||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||
|
networks:
|
||
|
apps:
|
||
|
aliases:
|
||
|
- coder
|
||
|
|
||
|
networks:
|
||
|
apps:
|
||
|
external: true
|