refactoring
This commit is contained in:
41
docker/code-server/docker-compose.yaml
Normal file
41
docker/code-server/docker-compose.yaml
Normal file
@@ -0,0 +1,41 @@
|
||||
version: '3'
|
||||
services:
|
||||
code-server:
|
||||
container_name: code
|
||||
image: lscr.io/linuxserver/code-server:latest
|
||||
environment:
|
||||
- PUID=0
|
||||
- PGID=0
|
||||
- TZ=Europe/London
|
||||
- PASSWORD=${CODESERVER_PASSWORD}
|
||||
- DEFAULT_WORKSPACE=/config/workspace
|
||||
volumes:
|
||||
- code-server_config:/config
|
||||
- has_config:/mnt/has_config
|
||||
- nginx_conf:/mnt/nginx_config
|
||||
- mosquitto_config:/mnt/mosquitto_config
|
||||
- hostfs_home_admin_repos:/mnt/hostfs_home_admin_repos
|
||||
networks:
|
||||
- code
|
||||
- reverseproxy_public
|
||||
ports:
|
||||
- 8444:8443
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
code-server_config:
|
||||
has_config:
|
||||
name: has_app_config
|
||||
external: true
|
||||
nginx_conf:
|
||||
name: reverseproxy_nginx-conf.d
|
||||
external: true
|
||||
mosquitto_config:
|
||||
external: true
|
||||
hostfs_home_admin_repos:
|
||||
external: true
|
||||
networks:
|
||||
code:
|
||||
reverseproxy_public:
|
||||
external: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user