Add docker-compose file

master
Noah Williams 2 years ago
parent a8c1670bab
commit 3ef3077427

@ -0,0 +1,30 @@
version: '3.7'
services:
code-server:
image: linuxserver/code-server
container_name: code-server
environment:
PUID: 1000
PGID: 1000
TZ: USA/Anchorage
PASSWORD: ${UI_PASSWORD} #optional
SUDO_PASSWORD: ${SUDO_PASSWORD} #optional
# PROXY_DOMAIN: dev.domain.tld #optional
volumes:
- ./config:/config
restart: unless-stopped
networks:
- reverse_proxy
nginx:
image: nginx
container_name: nginx
volumes:
- ./nginx:/etc/nginx
- ./letsencrypt:/etc/letsencrypt
restart: unless-stopped
networks:
- reverse_proxy
networks:
reverse_proxy:
Loading…
Cancel
Save