Initial commit
This commit is contained in:
commit
b4acb2cb15
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# Ignore the actual application state and database
|
||||
portainer_data/
|
||||
|
||||
# Ignore secrets
|
||||
.env
|
||||
17
docker-compose.yaml
Normal file
17
docker-compose.yaml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
services:
|
||||
portainer:
|
||||
image: portainer/portainer-ce:latest
|
||||
container_name: portainer
|
||||
restart: unless-stopped
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
networks:
|
||||
- web_traffic
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
- ./portainer_data:/data
|
||||
|
||||
networks:
|
||||
web_traffic:
|
||||
external: true
|
||||
Loading…
Reference in a new issue