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.
30 lines
645 B
30 lines
645 B
3 years ago
|
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:
|