Add docker-compose.yaml for nginx reverse and code-server
This commit is contained in:
parent
7ad54e2d6a
commit
13ed0e6346
22
nginx_reverse+code-server/docker-compose.yaml
Normal file
22
nginx_reverse+code-server/docker-compose.yaml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
version: '3'
|
||||||
|
|
||||||
|
services:
|
||||||
|
reverse:
|
||||||
|
container_name: reverse
|
||||||
|
hostname: reverse
|
||||||
|
image: nginx
|
||||||
|
ports:
|
||||||
|
- 443:443
|
||||||
|
volumes:
|
||||||
|
- /home/gbanyan/docker/nginx/:/etc/nginx/
|
||||||
|
- /home/gbanyan/docker/certs/:/etc/ssl/private/
|
||||||
|
|
||||||
|
code-server:
|
||||||
|
user: 1001:1001
|
||||||
|
expose:
|
||||||
|
- '8080'
|
||||||
|
volumes:
|
||||||
|
- '/home/gbanyan/docker/code-server/:/home/coder/project/'
|
||||||
|
environment:
|
||||||
|
- PASSWORD=8115@code
|
||||||
|
image: 'codercom/code-server:latest'
|
Loading…
Reference in New Issue
Block a user