mirror of
https://github.com/status-im/infra-faucet.git
synced 2025-02-25 17:16:22 +00:00
17 lines
491 B
YAML
17 lines
491 B
YAML
---
|
|
- name: Create faucet container
|
|
docker_container:
|
|
name: '{{ faucet_cont_name }}'
|
|
image: '{{ faucet_cont_image }}'
|
|
user: root
|
|
pull: true
|
|
restart_policy: always
|
|
state: '{{ cont_state }}'
|
|
recreate: '{{ cont_recreate }}'
|
|
restart: '{{ cont_restart }}'
|
|
ports:
|
|
- '127.0.0.1:{{ faucet_http_port | mandatory }}:{{ faucet_http_port }}'
|
|
command: |
|
|
-network={{ faucet_network | mandatory }}
|
|
-acc_pass={{ faucet_account_pass | mandatory }}
|