2020-04-22 04:35:23 +08:00
|
|
|
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:
|
2020-05-08 00:02:22 +08:00
|
|
|
- '/home/gbanyan/docker/code-server/project:/home/coder/project/'
|
|
|
|
- '/home/gbanyan/docker/code-server/user:/home/coder/.local/share/code-server/'
|
2020-04-22 04:35:23 +08:00
|
|
|
environment:
|
|
|
|
- PASSWORD=8115@code
|
|
|
|
image: 'codercom/code-server:latest'
|