Skip to content

Instantly share code, notes, and snippets.

@rh0dium
Last active May 16, 2018 16:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rh0dium/9fa702f6c660f4b28b9b2781baee88a6 to your computer and use it in GitHub Desktop.
Save rh0dium/9fa702f6c660f4b28b9b2781baee88a6 to your computer and use it in GitHub Desktop.
Basic Perforce / MariaDb IC Manage Server
version: "3.1"
services:
perforce:
image: icmanage1/envision:perforce-latest
networks:
main:
ipv4_address: 172.19.0.16
env_file:
- .env
ports:
- "1666:1666"
volumes:
- perforce_data:/var/lib/perforce
db:
restart: always
image: icmanage1/envision:mariadb-latest
volumes:
- db_data:/var/lib/mysql
- db_run:/var/run/mysqld
env_file:
- .env
ports:
- 3306:3306
networks:
- main
networks:
main:
driver: bridge
ipam:
config:
- subnet: 172.19.0.0/24
volumes:
db_data:
db_run:
perforce_data:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment